package com.wjz.log.handler;

import org.springframework.stereotype.Repository;

/**
 * @author wjz
 * @date 2021/5/31 16:03
 */
@Repository
public interface WebLogHandler<T> {

    /**
     * 持久化日志
     *
     * @param t
     * @param isPersistent
     */
    void persistentLog(T t, boolean isPersistent) throws Exception;

    ;
}
